package com.coffee.entity;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2020-12-08 00:30:08
 */
public class User implements Serializable {
    private static final long serialVersionUID = 214782635716143311L;
    /**
     * 用户id
     */
    private Integer uid;
    /**
     * 用户名唯一的
     */
    private String uname;
    /**
     * 密码
     */
    private String upass;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 性别
     */
    private String sex;
    /**
     * 头像
     */
    private String upic;

    /**
     * 输入的验证码  不入库
     * */
    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpass() {
        return upass;
    }

    public void setUpass(String upass) {
        this.upass = upass;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUpic() {
        return upic;
    }

    public void setUpic(String upic) {
        this.upic = upic;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upass='" + upass + '\'' +
                ", email='" + email + '\'' +
                ", sex='" + sex + '\'' +
                ", upic='" + upic + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}